package com.colt.contentcenter.feighclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//脱离ribbon的使用
@FeignClient(name = "baidu",url="http://www.baidu.com")
public interface TestBaiduFeighClient {
    @GetMapping("")
    public String baiduIndex();
}
